package com.fenghongzhang.day015;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;

public class MyReceiver extends BroadcastReceiver {

    private static final String TAG = "MyReceiver";

    @Override
    public void onReceive(Context context, Intent intent) {
        Log.i(TAG, "onReceive: ");
        Bundle extras = intent.getExtras();
        String json = extras.getString("json");

        Log.i(TAG, "onReceive: "+json);

    }
}
